﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.Rendering.ShaderKeywordType
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System;
using UnityEngine.Bindings;
using UnityEngine.Scripting;

#nullable disable
namespace UnityEngine.Rendering
{
  /// <summary>
  ///   <para>Type of a shader keyword, eg: built-in or user defined.</para>
  /// </summary>
  [UsedByNativeCode]
  [NativeHeader("Runtime/Shaders/Keywords/KeywordSpaceScriptBindings.h")]
  public enum ShaderKeywordType
  {
    /// <summary>
    ///   <para>No type is assigned.</para>
    /// </summary>
    None = 0,
    /// <summary>
    ///   <para>The keyword is built-in the runtime and it is systematically reserved.</para>
    /// </summary>
    BuiltinDefault = 2,
    /// <summary>
    ///   <para>The keyword is built-in the runtime and it is optionally reserved depending on the features used.</para>
    /// </summary>
    [Obsolete("Shader keyword type BuiltinExtra is no longer used. Use BuiltinDefault instead. (UnityUpgradable) -> BuiltinDefault")] BuiltinExtra = 6,
    /// <summary>
    ///   <para>The keyword is built-in the runtime and can be automatically stripped if unusued.</para>
    /// </summary>
    [Obsolete("Shader keyword type BuiltinAutoStripped is no longer used. Use BuiltinDefault instead. (UnityUpgradable) -> BuiltinDefault")] BuiltinAutoStripped = 10, // 0x0000000A
    /// <summary>
    ///   <para>The keyword is defined by the user.</para>
    /// </summary>
    UserDefined = 16, // 0x00000010
    /// <summary>
    ///   <para>The keyword is created by a shader compiler plugin.</para>
    /// </summary>
    Plugin = 32, // 0x00000020
  }
}
